/*****************************备注开始*******************************/
/*********** 请录制完脚本补充以下信息，多个用例ID请用空格分隔 ***********
测试用例JIRA_ID:
操作步骤（可选）：
1.
2.
3.
****************************** 备注结束 ****************************/
JrnCmd.ProcessCommand("gmNewProject", "");
JrnRes.CompareExpectedResult("事务数据", "成功提交用户事务：创建文档", "Text");
JrnRes.CompareExpectedResult("事务数据", "成功提交用户事务：初始化项目文档相关数据", "Text");
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1682 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:0.5 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.0 | ,AspectRatio:1.9512760639190674 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.ProcessCommand("SnapEntryCmd", "");
JrnWdt.MousePress("QTreeWidget","treeWidget-BaseTreeDlg","Left","捕捉过滤$ISnapSettings$0"/*TreeNodePath*/,15/*X*/,9/*Y*/,"IsHorizontalScrollVisible:false$IsVerticalScrollVisible:false$ItemCheckState:-1$ItemModifier:0"/*ExtendedParam*/);
JrnWdt.MouseRelease("QTreeWidget","treeWidget-BaseTreeDlg","Left","捕捉过滤$ISnapSettings$0"/*TreeNodePath*/,15/*X*/,9/*Y*/,"IsHorizontalScrollVisible:false$IsVerticalScrollVisible:false$ItemCheckState:0$ItemModifier:0"/*ExtendedParam*/);
JrnWdt.MousePress("QTreeWidget","treeWidget-BaseTreeDlg","Left","捕捉过滤$ISnapSettings$SetCanSnapHorizontalVerticalLine$0"/*TreeNodePath*/,14/*X*/,6/*Y*/,"IsHorizontalScrollVisible:false$IsVerticalScrollVisible:false$ItemCheckState:-1$ItemModifier:0"/*ExtendedParam*/);
JrnWdt.MouseRelease("QTreeWidget","treeWidget-BaseTreeDlg","Left","捕捉过滤$ISnapSettings$SetCanSnapHorizontalVerticalLine$0"/*TreeNodePath*/,13/*X*/,6/*Y*/,"IsHorizontalScrollVisible:false$IsVerticalScrollVisible:false$ItemCheckState:2$ItemModifier:0"/*ExtendedParam*/);
JrnDef.SetState("ICheckBoxGroupDefinition", "SnapFilterCheckBox", "CheckBoxId:SnapUpdateSnapContextRealTime,CheckState:2");
JrnDef.SetState("IComboBoxDefinition", "SnapPlaneComboBox", "ComboBoxCurrentIndex:1");
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1278 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:0.5 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.0 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.MouseMove(-16740.13983673472103, 14965.197443962097168, 0.5);
JrnCmd.ProcessCommand("SnapWithActionCmd", "");
JrnCmd.MouseMove(-14930.395061171317138, 1983.7582111358642578, 0.5);
JrnCmd.LButtonDown(-14930.395061171317138, 1983.7582111358642578, 0.5);
JrnCmd.MouseMove(-14930.395061171317138, 1983.7582111358642578, 0.5);
JrnCmd.LButtonUp(-14930.395061171317138, 1983.7582111358642578, 0.5);
JrnCmd.MouseMove(-4176.3344033493513052, 1774.9428749084472656, 0.5);
JrnCmd.KeyDown(97/*小键盘 1*/);
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","1 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.EditText("QLineEdit","ViewInputLineEdit-","10000");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","Return + NoModifier");
JrnRes.CompareExpectedResult("事务数据", "成功提交用户事务：绘制模型线", "Text");
JrnCmd.MouseMove(-4176.3344033493513052, 1774.9428749084472656, 0.5);
JrnCmd.KeyUp(13/*Enter*/);
JrnCmd.KeyDown(18/*Alt*/);
JrnCmd.KeyDown(80/*P*/);
JrnCmd.ProcessCommand("gmSnapShotValidateCmd", "");
JrnWdt.KeyRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","P + AltModifier");
JrnWdt.KeyRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","Alt + NoModifier");
JrnCmd.MouseMove(-16531.322520071327745, 7030.162811279296875, 0.5);
JrnCmd.LButtonDown(-16531.322520071327745, 7030.162811279296875, 0.5);
JrnCmd.ProcessCommand("gm.view.navigate", "Direction_X:-0.0 | ,WindowWidth:1278 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:1.2400819063186646 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,UpDirection_Z:0.0 | ,OrthoWindowHeight:30000.0 | ,NearDist:0.0 | ,FarDist:1.2703278064727783 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.MouseMove(-556.84485222254670589, -1322.5060701370239258, 1.2400819063186647728);
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1278 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:1.2710839509963989 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.3020859956741333 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.LButtonUp(-556.84485222254670589, -1322.5060701370236984, 1.2710839509963989258);
JrnWdt.MousePress("QPushButton","OKpushButton-SnapshotValidatorDlg","Left");
JrnWdt.MouseRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","Left");
JrnRes.CompareWithCustomValidator("截图验证器", "Scope={164,229,623,468} Tolerance=0.01 OffScreen=0 PictureType=0", "test_0");
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1278 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:0.5 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.0 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.MouseMove(-5081.2067911310523414, -5116.0097122192382813, 0.5);
JrnCmd.KeyDown(103/*小键盘 7*/);
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","7 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","0 + KeypadModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","Alt + AltModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","P + AltModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","P + AltModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","Alt + NoModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","Backspace + NoModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","Backspace + NoModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","Alt + AltModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","P + AltModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","P + AltModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","Alt + NoModifier");
JrnWdt.KeyPress("QLineEdit","ViewInputLineEdit-","Backspace + NoModifier");
JrnWdt.KeyRelease("QLineEdit","ViewInputLineEdit-","Backspace + NoModifier");
JrnWdt.EditText("QLineEdit","ViewInputLineEdit-","7000");
JrnCmd.LButtonDown(-4907.1930233514749489, -4837.5865817070007324, 0.5);
JrnRes.CompareExpectedResult("事务数据", "成功提交用户事务：绘制模型线", "Text");
JrnCmd.MouseMove(-4907.1930233514749489, -4837.5865817070007324, 0.5);
JrnCmd.LButtonUp(-4907.1930233514749489, -4837.5865817070007324, 0.5);
JrnCmd.MouseMove(4872.3908000141591401, 2888.6318206787109375, 0.5);
JrnCmd.LButtonDown(4872.3908000141591401, 2888.6318206787109375, 0.5);
JrnRes.CompareExpectedResult("事务数据", "成功提交用户事务：绘制模型线", "Text");
JrnCmd.MouseMove(4872.3908000141591401, 2888.6318206787109375, 0.5);
JrnCmd.LButtonUp(4872.3908000141591401, 2888.6318206787109375, 0.5);
JrnCmd.MouseMove(9187.9354222592719452, -2645.0112462043762207, 0.5);
JrnCmd.KeyDown(18/*Alt*/);
JrnCmd.KeyDown(80/*P*/);
JrnCmd.ProcessCommand("gmSnapShotValidateCmd", "");
JrnWdt.KeyRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","P + AltModifier");
JrnWdt.KeyRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","Alt + NoModifier");
JrnCmd.MouseMove(-2018.5620922267944479, 10893.271565437316895, 0.5);
JrnCmd.LButtonDown(-2018.5620922267944479, 10893.271565437316895, 0.5);
JrnCmd.ProcessCommand("gm.view.navigate", "Direction_X:-0.0 | ,WindowWidth:1278 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:1.3688185214996338 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,UpDirection_Z:0.0 | ,OrthoWindowHeight:30000.0 | ,NearDist:0.0 | ,FarDist:1.4022042751312256 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.MouseMove(13921.114677831168592, -6473.3174443244934082, 1.3688185214996340111);
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1278 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:1.4030389785766602 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.4372594356536865 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.LButtonUp(13921.114677831168592, -6473.3174443244924987, 1.4030389785766601563);
JrnWdt.MousePress("QPushButton","OKpushButton-SnapshotValidatorDlg","Left");
JrnWdt.MouseRelease("QPushButton","OKpushButton-SnapshotValidatorDlg","Left");
JrnRes.CompareWithCustomValidator("截图验证器", "Scope={581,118,1038,616} Tolerance=0.01 OffScreen=0 PictureType=0", "test_1");
JrnCmd.ProcessCommand("gm.view.navigate", "WindowWidth:1278 | ,Direction_X:-0.0 | ,ViewName:\"楼层 1\" | ,CameraType:1 | ,Position_X:0.0 | ,UpDirection_X:0.0 | ,Position_Y:0.0 | ,Position_Z:0.5 | ,Direction_Y:-0.0 | ,Direction_Z:-1.0 | ,UpDirection_Y:1.0 | ,OrthoWindowHeight:30000.0 | ,UpDirection_Z:0.0 | ,NearDist:0.0 | ,FarDist:1.0 | ,AspectRatio:1.4825986623764038 | ,FieldOfView:0.52359877559829882 | ,WindowHeight:862 | ");
JrnCmd.MouseMove(9640.3709533768742403, -4593.9677953720092773, 0.5);
JrnCmd.KeyDown(27/*Esc*/);
JrnCmd.MouseMove(15243.620373393156115, -208.81712436676025391, 0.5);
JrnCmd.KeyUp(27/*Esc*/);
JrnCmd.MouseMove(20498.839606757286674, 3897.9113101959228516, 0.5);
JrnCmd.ProcessCommand("gmCloseApplication", "");
JrnRes.CompareExpectedResult("windowTitle", "关闭文档", "Text");
JrnRes.CompareExpectedResult("message", "是否保存对“文件1.gac”的更改？", "Text");
JrnWdt.MousePress("QPushButton","pushButtonOK-GmMessageBox","Left");
JrnWdt.MouseRelease("QPushButton","pushButtonOK-GmMessageBox","Left");
